package com.spa.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.spa.infrastructure.annotation.UrlParse;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("s_shop_info")
public class ShopPO extends GenericPO {

    /** 门店logo */
    @TableField(value = "logo")
    @UrlParse
    private String logo;

    /** 门店名称 */
    @TableField(value = "name")
    private String name;

    /** 负责人 */
    @TableField(value = "owner")
    private String owner;

    /** 门店地址 */
    @TableField(value = "address")
    private String address;

    /**
     * 城市id
     */
    @TableField(value = "city_id")
    private Long cityId;

    /** 负责人电话 */
    @TableField(value = "phone")
    private String phone;

    /** 营业执照 */
    @TableField(value = "business_license")
    @UrlParse
    private String businessLicense;

    /** 商家介绍 */
    @TableField(value = "remark")
    private String remark;

    /** 特色标签 */
    @TableField(value = "label_id")
    private String labelId;

    /** 经度 */
    @TableField(value = "lon")
    private String lon;

    /** 纬度 */
    @TableField(value = "lat")
    private String lat;

    /** 1被删除 */
    @TableField(value = "is_del")
    private Integer isDel;

    /** 提现周期（天） */
    @TableField(value = "withdraw_period")
    private Integer withdrawPeriod;

    /** 默认就是1，自动甩单开启，0表示关闭了自动甩单 */
    @TableField(value = "flag")
    private Integer flag;

}
